package com.yunxin.core.application.admin.team;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单分发统计
 */
@Data
@ToString
@TableName("team_task_distribute")
public class TeamTaskDistribute implements Serializable {
    /**
     * 主键
     */

    private Long id;

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Long sysUserId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 团队id
     */
    @Schema(description = "团队id")
    private Long teamId;
    /**
     * 团队名称
     */
    private String teamName;

    /**
     * 分发数量
     */
    private Integer distributeSum;

    /**
     * 二次分发
     */
    private Integer twoDistribute;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date creatTime;


}